﻿using System;

namespace ChaoWen.Framework.Utility
{
    /// <summary>
    /// 枚举帮助类
    /// </summary>
    public class EnumHelper
    {

    }

    public class EnumTitleAttribute : Attribute
    {
        private bool _IsDisplay = true;

        public EnumTitleAttribute(string title,params string [] synonyms)
        {
            Title = title;
            Synonyms = synonyms;
            Order = int.MaxValue;
        }

        public bool IsDisplay { get { return _IsDisplay; } set { _IsDisplay = value; } }

        public string Title { get; set; }

        public string Description { get; set; }

        public string Letter { get; set; }

        public string[] Synonyms { get; set; }

        public int Category { get; set; }

        public int Order { get; set; }

    }
}
